package me.sealer.interview;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author sealer
 * @date 2018/06/22.
 * @email 1178884049@qq.com
 */
public class MapSth {
    public static void main(String[] args) {
        Map<Object, String> map = new HashMap<>(8);
        String keyStr = null;
        Map keyMap = null;
        Date keyDate = null;
        map.put(keyStr, "sealer1");
        map.put(keyMap, "sealer2");
        map.put(keyDate, "sealer3");

        map.forEach((k, v) -> System.out.println(k + "=" + v));
    }
}
